|
Foxit PDF Conversion SDK
|
Static Public Member Functions | |
| def | ConvertToMarkdown (src_pdf_file_path, src_file_password, saved_md_path, saved_image_dir_name, setting_data) |
| Convert a PDF format file to a Markdown file. More... | |
This class can be used to convert PDF format files to Markdown files.
|
static |
Convert a PDF format file to a Markdown file.
| [in] | src_pdf_file_path | Path of a PDF format file. This should not be an empty string. |
| [in] | src_file_password | Password for the input file. Pass an empty string if no password. |
| [in] | saved_md_path | Path of the saved Markdown file as conversion result. This should not be an empty string. |
| [in] | saved_image_dir_name | Name of the directory to save extracted images, placed next to the output Markdown file. Must be a plain folder name without path separators (e.g. "my_images"). Passing a path (containing '/', '\' or ':') will throw FoxitPDFConversionSDKPython2.e_ErrParam . If null or empty, images will be saved to a default directory named <md_basename>_images next to the output Markdown file. |
| [in] | setting_data | A object for conversion settings. Default: default values. |